#ifndef MODEL_H
#define MODEL_H

typedef struct tMeshData {
    float * verts; //vertices - 64 bits
    float * norms; //normals - 64 bits
    float * txcos; //texture coords - 64 bits

    short * vinds; //vertex indices - 64 bits
    short * ninds; //normal indices - 64 bits
    short * tinds; //texco indices - 64 bits

    int vind_count; //vertex index count - 32 bits
    int nind_count; //normal index count - 32 bits
    int tind_count; //texco index count - 32 bits
    short vpf;      //number of verts per face - 16 bits
    char buf[2];    //buffer for memory alignment - 2 x 8 bits
} MeshData;

#endif // MODEL_H
